package com.yuke.cloud.service.wmc.service.impl;

import com.yuke.cloud.service.wmc.dao.WmsGoodsTransferMapper;
import com.yuke.cloud.service.wmc.entity.WmsGoodsTransfer;
import com.yuke.cloud.service.wmc.service.WmsGoodsTransferService;
import com.yuke.cloud.common.core.support.BaseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


/**
 * Created by zys on 2019/01/10.
 */
@Service
@Transactional
public class WmsGoodsTransferServiceImpl extends BaseService<WmsGoodsTransfer> implements WmsGoodsTransferService {
    @Resource
    private WmsGoodsTransferMapper wmsGoodsTransferMapper;

    @Override
    public List<Map> findtransferspec(Long specId,Long warehouseId) {
        return wmsGoodsTransferMapper.findtransferspec(specId,warehouseId);
        }
    @Override
    public Long generateIdit() {
        long id = super.generateId();
        return id;
    }
}
